<!DOCTYPE html5>
<html>
    <head>
        {include file="public/header"}
        <title>试卷查看</title>
    </head>
    <body>
        <div id="wrapper">
            {include file="public/nav"}  
            <div id="page-wrapper" style="min-height: 325px;">
                <div class="row">
	                <div class="col-lg-12">
	                    <h1 class="page-header">试卷查看</h1>
	                </div>
	                <!-- /.col-lg-12 -->
                </div>
                <!-- /.row -->
                <div class="row">
	                <div class="col-lg-12" >
                        <div id="arttb">
                            <table width="100%" class="table table-striped table-bordered table-hover">
                                <thead>
                                    <tr>
                                        <th>编号</th>
                                        <th>名称</th>
                                        <th>备注</th>
                                        <th>操作</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    {volist name="data" id="vo"}
                                    <tr>
                                        <td>{$vo.pap_id}</td>
                                        <td>{$vo.pap_name}</td>
                                        <td>{$vo.pap_mark}</td>
                                        <td>
                                            <button type="button" class="btn btn-danger btn-xs">删除</button>
                                            <a href="editpaper.html?id={$vo.pap_id}" type="button" class="btn btn-success btn-xs">编辑</a>
                                            {php} if($vo['pap_type'] == 0){ {/php}
                                            <a href="listchoice?id={$vo.pap_id}" type="button" class="btn btn-default btn-xs">查看试题</a>
                                            <a href="choice.html?id={$vo.pap_id}" type="button" class="btn btn-success btn-xs">添加试题</a>
                                            {php} }else{  {/php}
                                            <a href="listessay?id={$vo.pap_id}" type="button" class="btn btn-default btn-xs">查看试题</a>
                                            <a href="essay.html?id={$vo.pap_id}" type="button" class="btn btn-success btn-xs">添加试题</a>
                                            {php} } {/php}
                                        </td>

                                    </tr>
                                    {/volist}
                                </tbody>
                            </table>
                        </div>
	                </div>
                </div>
            </div>

        </div>
        {include file="public/footer"}
        
        {include file="public/javascript"}
    </body>
</html>
